package com.mike.employment.po;

import com.mike.employment.base.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.ManyToOne;
import lombok.Getter;
import lombok.Setter;

@Entity
@Getter
@Setter
public class Offer extends BaseEntity {

	@Column(nullable = false)
	private Double salary = 0.0;  //工资
	@Column(columnDefinition = "longtext", nullable = false)
	private String info;  //offer详细内容
	@Column(nullable = false)
	private Integer status = 0; // 0：未读  1：接受
	@ManyToOne(targetEntity = Apply.class)
	private Apply apply;
}
